AboutPortlet = Class.extend({
	init: function()	{
		this.name = "AboutPortlet";
	},
	
	onBegin: function()	{
		this.model = {};
	},

	run: function()	{
		var obj = this;
		this.onAjax('config', 'get-about', {}, 'GET', {
			'onSuccess': function(ret)	{
				obj.model = {};
				obj.model.about = ret;
				obj.getPortletPlaceholder().paintCanvas(obj.render());
			}
		});
	}
}).implement(PortletInterface).implement(RenderInterface).implement(AjaxInterface);

FooterPortlet = Class.extend({
	init: function()	{
		this.name = "FooterPortlet";
	},
	
	onBegin: function()	{
		this.model = {};
	},

	run: function()	{
		var obj = this;
		this.onAjax('config', 'get-footer', {}, 'GET', {
			'onSuccess': function(ret)	{
				obj.model = {};
				obj.model.footer = ret;
				obj.getPortletPlaceholder().paintCanvas(obj.render());
			}
		});
	}
}).implement(PortletInterface).implement(RenderInterface).implement(AjaxInterface);